equal
deleted
inserted
replaced
218 if GameState <> gsChat then |
218 if GameState <> gsChat then |
219 ProcessKey(event.key); |
219 ProcessKey(event.key); |
220 |
220 |
221 SDL_MOUSEBUTTONDOWN: |
221 SDL_MOUSEBUTTONDOWN: |
222 if GameState = gsConfirm then |
222 if GameState = gsConfirm then |
223 begin |
223 ParseCommand('quit', true) |
224 resetPosition(); |
|
225 ParseCommand('quit', true); |
|
226 end |
|
227 else |
224 else |
228 ProcessMouse(event.button, true); |
225 ProcessMouse(event.button, true); |
229 |
226 |
230 SDL_MOUSEBUTTONUP: |
227 SDL_MOUSEBUTTONUP: |
231 ProcessMouse(event.button, false); |
228 ProcessMouse(event.button, false); |