A few small cleanups.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2829 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
Meep-Eep
2007-08-02 22:38:24 +00:00
parent f097bb2eee
commit 898141daa7
3 changed files with 5 additions and 4 deletions
-1
View File
@@ -185,7 +185,6 @@ ProcessInput (void)
CyborgDescPtr->ship_input_state = 0;
if (CyborgDescPtr->RaceDescPtr->ship_info.crew_level)
{
if (InputState & BATTLE_LEFT)
CyborgDescPtr->ship_input_state |= LEFT;
else if (InputState & BATTLE_RIGHT)
+4 -2
View File
@@ -101,8 +101,10 @@ AllocDrawable (COUNT n)
F->Type = 0;
F->Index = 0;
F->image = 0;
F->Bounds.width = F->Bounds.height = 0;
F->HotSpot.x = F->HotSpot.y = 0;
F->Bounds.width = 0;
F->Bounds.height = 0;
F->HotSpot.x = 0;
F->HotSpot.y = 0;
}
UnlockDrawable (Drawable);
+1 -1
View File
@@ -298,7 +298,7 @@ new_ship (ELEMENT *DeadShipPtr)
if (StarShipPtr
&& (StarShipPtr->cur_status_flags & PLAY_VICTORY_DITTY))
{
// StarShipPtr points to the surviving ship.
// StarShipPtr points to the remaining ship.
MusicStarted = TRUE;
PlayMusic ((MUSIC_REF)StarShipPtr->RaceDescPtr->
ship_data.victory_ditty, FALSE, 3);