Advertisement
MageKing17

hudsquadmsg.cpp.patch

Apr 16th, 2015
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.52 KB | None | 0 0
  1. Index: code/hud/hudsquadmsg.cpp
  2. ===================================================================
  3. --- code/hud/hudsquadmsg.cpp    (revision 11304)
  4. +++ code/hud/hudsquadmsg.cpp    (working copy)
  5. @@ -858,7 +858,7 @@
  6.     }
  7.  
  8.     // if we are messaging a ship, and that ship is our target, no target type orders are ever active
  9. -   if ( (Squad_msg_mode == SM_MODE_SHIP_COMMAND) && (target_objnum == Msg_instance) ){
  10. +   if ( (Squad_msg_mode == SM_MODE_SHIP_COMMAND) && (Objects[target_objnum].instance == Msg_instance) ){
  11.         return 0;
  12.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement