diff --git a/source/src/server.cpp b/source/src/server.cpp index 127bda1e..002f9941 100644 --- a/source/src/server.cpp +++ b/source/src/server.cpp @@ -2878,7 +2878,7 @@ void process(ENetPacket *packet, int sender, int chan) break; } - case SV_EXPLODE: + case SV_EXPLODE: // Brahma says: FIXME handle explosion by location and deal damage from server { gameevent &exp = cl->addevent(); exp.type = GE_EXPLODE; diff --git a/source/src/weapon.cpp b/source/src/weapon.cpp index ff1271eb..deed66da 100644 --- a/source/src/weapon.cpp +++ b/source/src/weapon.cpp @@ -828,8 +828,7 @@ void grenadeent::explode() hits.setsize(0); splash(); if(local) - addmsg(SV_EXPLODE, "ri3iv", lastmillis, GUN_GRENADE, millis, // fixme - hits.length(), hits.length()*sizeof(hitmsg)/sizeof(int), hits.getbuf()); + addmsg(SV_EXPLODE, "ri3iv", lastmillis, GUN_GRENADE, millis, hits.length(), hits.length()*sizeof(hitmsg)/sizeof(int), hits.getbuf()); audiomgr.playsound(S_FEXPLODE, &o); }