diff options
| author | jacksonmj <mj-pt@jacksonmj.co.uk> | 2011-06-24 20:54:59 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-06-25 14:52:52 (GMT) |
| commit | c18009dd9c87343178e808565d815b454bd2b585 (patch) | |
| tree | 0802e521b44b7adecbe38518a343a9df882ebc20 /src/main.c | |
| parent | 36e2a07a5b5e0eb07bd9fcea48004dd8b5890322 (diff) | |
| download | powder-c18009dd9c87343178e808565d815b454bd2b585.zip powder-c18009dd9c87343178e808565d815b454bd2b585.tar.gz | |
Check particle exists in tpt.set_property, and sdl_scale mouse coords for Lua step
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2508,7 +2508,7 @@ int main(int argc, char *argv[]) b = SDL_GetMouseState(&x, &y); // b is current mouse state #ifdef LUACONSOLE - if(luacon_step(x, y, b, bq, sdl_key)) + if(luacon_step(x/sdl_scale, y/sdl_scale, b, bq, sdl_key)) b = 0; //Mouse click was handled by Lua step #endif |
