Skip to content

Commit

Permalink
Merge pull request #1463 from Goober5000/fix_sound_coordinates
Browse files Browse the repository at this point in the history
fix negative coordinates in play-sound-from-x
  • Loading branch information
asarium committed Aug 29, 2017
2 parents 95c0fad + 2cff45f commit 537ee43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/parse/sexp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26907,13 +26907,13 @@ int query_operator_argument_type(int op, int argnum)
if (argnum == 3)
return OPF_GAME_SND;
else
return OPF_POSITIVE;
return OPF_NUMBER;

case OP_PLAY_SOUND_FROM_FILE:
if (argnum==0)
return OPF_STRING;
else
return OPF_POSITIVE;
return OPF_NUMBER;

case OP_CLOSE_SOUND_FROM_FILE:
case OP_PAUSE_SOUND_FROM_FILE:
Expand Down

0 comments on commit 537ee43

Please sign in to comment.