build fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1480 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
CXXOPTFLAGS=-O3 -fomit-frame-pointer
|
||||
INCLUDES=-I/usr/X11R6/include -I../enet/include `sdl-config --cflags`
|
||||
INCLUDES=-I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags`
|
||||
CXXFLAGS=$(CXXOPTFLAGS) $(INCLUDES) -fsigned-char -Wall -Wno-deprecated
|
||||
|
||||
PLATFORM_PREFIX=native
|
||||
|
||||
@@ -648,7 +648,8 @@ struct grenadeent : bounceent
|
||||
|
||||
void explode()
|
||||
{
|
||||
if(bouncestate != NADE_THROWED) owner->weapons[GUN_GRENADE]->attack(vec(0,0,0));
|
||||
static vec n(0,0,0);
|
||||
if(bouncestate != NADE_THROWED) owner->weapons[GUN_GRENADE]->attack(n);
|
||||
playsound(S_FEXPLODE, NULL, NULL, &o);
|
||||
newprojectile(o, o, 1, owner==player1, owner, GUN_GRENADE, millis);
|
||||
}
|
||||
@@ -1045,4 +1046,4 @@ void checkakimbo()
|
||||
playsoundc(S_AKIMBOOUT);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user