URL: <http://gna.org/bugs/?20998>
Summary: Unit orientation problems in sdl-client Project: Freeciv Submitted by: cazfi Submitted on: Wed 31 Jul 2013 07:05:54 PM EEST Category: client-sdl Severity: 3 - Normal Priority: 5 - Normal Status: Ready For Test Assigned to: None Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: None Planned Release: 2.4.0, 2.5.0, 2.6.0 _______________________________________________________ Details: First of all: I cannot use sdl-client on my machine - seems like some kind of problem with recognised surface size. I suspect this to be problem in SDL rather than freeciv. Anyway, I cannot test things now. On another machine I noticed the familiar random rotation of unit to be built sprite on citydlg. I set out to fix that (I think best fixed orientation for that one is East = toward the center of dialog). While fixing that, I noticed (from the source - as I said, I cannot now test) that some places where we refer to actual existing unit, random orientation is used instead of unit's orientation. One was in citydlg and another in some redraw case of main mapview. Patch attached. Could someone test? _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Wed 31 Jul 2013 07:05:54 PM EEST Name: SDLOrientation.patch Size: 9kB By: cazfi <http://gna.org/bugs/download.php?file_id=18598> _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?20998> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev