Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
squaroid
squaroid-0.60.3-undefined_operation.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File squaroid-0.60.3-undefined_operation.diff of Package squaroid
--- src/game_observe.c +++ src/game_observe.c @@ -140,7 +140,8 @@ if (strlen(dec_md)) for (i = 0, k = 0; i < game->current_move*2; i++, k++) { - move_data = ((dec_md[i] - 'A') << 4) | (dec_md[++i] - 'A'); + move_data = ((dec_md[i] - 'A') << 4) | (dec_md[i+1] - 'A'); + ++i; game->moves[k].c.x = ((move_data & 0xe0) >> 5) +1; game->moves[k].c.y = ((move_data & 0x1c) >> 2) +1; game->moves[k].owner = ((move_data & 0x02) ? PLAYER1 : PLAYER2);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor