git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12c02a9
)
nomultiple fix
author
kramm
<kramm>
Sat, 5 Apr 2003 16:31:15 +0000
(16:31 +0000)
committer
kramm
<kramm>
Sat, 5 Apr 2003 16:31:15 +0000
(16:31 +0000)
src/swfc.c
patch
|
blob
|
history
diff --git
a/src/swfc.c
b/src/swfc.c
index
f4d07ae
..
d2ef74d
100644
(file)
--- a/
src/swfc.c
+++ b/
src/swfc.c
@@
-1332,8
+1332,13
@@
static int c_play(map_t*args)
char*name = lu(args, "sound");
char*loop = lu(args, "loop");
char*nomultiple = lu(args, "nomultiple");
+ int nm = 0;
+ if(!strcmp(nomultiple, "nomultiple"))
+ nm = 1;
+ else
+ nm = parseInt(nomultiple);
- s_playsound(name, parseInt(loop), parseInt(nomultiple), 0);
+ s_playsound(name, parseInt(loop), nm, 0);
return 0;
}