[Fix?] Changed rotation speed, everyone was bothering me about it, all they needed to do was change it in xml file..
This commit is contained in:
parent
7910dac9c3
commit
5b4d184ffc
@ -31,7 +31,7 @@
|
||||
<class>1</class>
|
||||
<movement>
|
||||
<thrust>180</thrust>
|
||||
<turn>100</turn>
|
||||
<turn>360</turn>
|
||||
<speed>260</speed>
|
||||
</movement>
|
||||
<health>
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 145 KiB |
BIN
gfx/ship.png
BIN
gfx/ship.png
Binary file not shown.
Before Width: | Height: | Size: 91 KiB |
2
src/ai.c
2
src/ai.c
@ -255,7 +255,7 @@ static int ai_face(lua_State* L) {
|
||||
if(lua_isnumber(L,1)) v = &get_pilot((unsigned int)lua_tonumber(L,1))->solid->pos;
|
||||
else if(lua_islightuserdata(L,1)) v = (Vec2*)lua_topointer(L,1);
|
||||
|
||||
double mod;
|
||||
double mod = 10;
|
||||
if(lua_gettop(L) > 1 && lua_isnumber(L,2))
|
||||
switch((int)lua_tonumber(L,2)) {
|
||||
case 1: mod *= -1; break;
|
||||
|
Loading…
Reference in New Issue
Block a user